package com.zengdb.mybatis.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zengdb.mybatis.domain.Student;
import com.zengdb.mybatis.domain.Teacher;

public interface TeacherMapper {
	
	void saveOne(Teacher teacher);
	
	void saveRelationWithStudent(@Param("teacherId")Long teacherId, @Param("studentId")Long studentId);
	
	void saveRelationWithMultiStudents(@Param("teacherId")Long teacherId,@Param("students")List<Student> students);
}
